.admin-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-logo img {
    width: 40px;
    height: 40px;
}

.admin-logo h1 {
    margin-left: 10px;
    font-size: 20px;
    font-weight: 600;
}

.layui-layout-admin {
    position: relative;
}

*[kllxs-on] {
    cursor: pointer;
}

.layui-layout-admin .admin-body {
    position: fixed;
}

/* 动态延时 */
.layui-layout-admin .layui-header .layui-nav .layui-nav-item,
.layui-layout-admin .layui-layout-left,
.layui-layout-admin .layui-body,
.layui-layout-admin .layui-footer,
.layui-layout-admin .layui-side,
.layui-layout-admin .layui-logo,
.layui-layout-admin .layui-header .layui-layout-right,
.layui-layout-admin .layui-nav-child {
    transition: all .3s;
    -webkit-transition: all .3s;
}

/**
* 左侧伸缩
*/
.admin-mobile-shade {
    display: none;
}

.layui-side {
    z-index: 1002;
}

/* pe端 */
@media screen and (max-width: 768px) {

    .kllxs-side-mini .layui-logo,
    .kllxs-side-mini .layui-side {
        width: 0px;
    }

    .kllxs-side-mini .admin-logo {
        display: none;
    }

    .kllxs-side-mini .layui-side .layui-nav-item cite,
    .kllxs-side-mini .layui-side .layui-nav-item .layui-nav-child {
        display: none;
    }

    .kllxs-side-mini .layui-layout-left,
    .kllxs-side-mini .layui-body,
    .kllxs-side-mini .layui-footer {
        left: 0px;
    }

    .admin-mobile-shade {
        display: block;
        position: fixed;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        background-color: rgba(0, 0, 0, 0.3);
        z-index: 1001;
    }

    .kllxs-side-mini .admin-mobile-shade {
        display: none;
    }
}

/* pc端 */
@media screen and (min-width: 768px) {

    .kllxs-side-mini .layui-logo,
    .kllxs-side-mini .layui-side {
        width: 60px;
    }

    .kllxs-side-mini .admin-logo h1 {
        display: none;
    }

    .kllxs-side-mini .layui-side .layui-nav-item cite,
    .kllxs-side-mini .layui-side .layui-nav-item .layui-nav-child {
        display: none;
    }

    .kllxs-side-mini .layui-layout-left,
    .kllxs-side-mini .layui-body,
    .kllxs-side-mini .layui-footer {
        left: 60px;
    }
}

/* 主体内容 */
.admin-body {
    background-color: #f2f2f2;
}

.admin-body .layui-tab {
    margin: 0 !important;
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.admin-body .layui-tab-content,
.admin-body .layui-tab-content .layui-tab-item {
    width: 100%;
    height: 100%;
}

.admin-body .layui-tab-content {
    overflow: auto;
    padding: 5px;
    background-color: #f2f2f2;
    box-sizing: border-box;
}

.admin-body .layui-tab-content .layui-tab-item {
    background-color: #fff;
    padding: 10px;
    box-sizing: border-box;
}

.admin-body .layui-tab-title {
    margin: 0 83px 0 40px;
    background-color: #fff;
    overflow-x: auto !important;
    overflow-y: hidden !important;
}

.admin-body .layui-tab-title::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.admin-body .layui-tab-title [lay-stope] {
    display: none;
}

.admin-body .layui-tab-title li {
    line-height: 38px;
    height: 100%;
}

.admin-body .layui-tab-title li cite {
    font-style: normal;
}

.admin-body .layui-tab-more {
    white-space: nowrap !important;
}

.admin-body .layui-tab-title .layui-this {
    background-color: #f6f6f6;
}

.admin-body .layui-tab-title .layui-this:after {
    /* content: normal; */
    background-color: #16b777;
    height: 4px;
}

.admin-body .admin-tab-roll {
    display: flex;
    width: 40px;
    height: 37.5px;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 1px;
    box-sizing: content-box;
    z-index: 10;
    background-color: #fff;
}

.admin-body .admin-tab-roll-left {
    left: 0;
    border-right-width: 1px;
    border-right-color: #f6f6f6;
}

.admin-body .admin-tab-roll-right {
    right: 41px;
    border-left-width: 1px;
    border-right-color: #f6f6f6;
}

.admin-body .admin-tab-roll-more {
    right: 0;
    border-left-width: 1px;
    border-right-color: #f6f6f6;
}

.admin-body .layui-tab-title li:first-child {
    min-width: auto;
}

.admin-body .layui-tab-title li:first-child .layui-tab-close {
    display: none;
}

.admin-body .layui-tab-content iframe {
    width: 100%;
    height: 100%;
}

/* 加载动画 */
.loader-main {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: whitesmoke;
    z-index: 9999999;
}

.loader {
    width: 50px;
    height: 50px;
    margin: 30px auto 40px;
    margin-top: 20%;
    position: relative;
    z-index: 999999;
    background-color: whitesmoke;
}

.loader:before {
    content: "";
    width: 50px;
    height: 7px;
    border-radius: 50%;
    background: #000;
    opacity: 0.1;
    position: absolute;
    top: 59px;
    left: 0;
    animation: shadow .5s linear infinite;
}

.loader:after {
    content: "";
    width: 50px;
    height: 50px;
    border-radius: 3px;
    background-color: #5FB878;
    position: absolute;
    top: 0;
    left: 0;
    animation: loading .5s linear infinite;
}

@-webkit-keyframes loading {
    17% {
        border-bottom-right-radius: 3px;
    }

    25% {
        transform: translateY(9px) rotate(22.5deg);
    }

    50% {
        transform: translateY(18px) scale(1, 0.9) rotate(45deg);
        border-bottom-right-radius: 40px;
    }

    75% {
        transform: translateY(9px) rotate(67.5deg);
    }

    100% {
        transform: translateY(0) rotate(90deg);
    }
}

@keyframes loading {
    17% {
        border-bottom-right-radius: 3px;
    }

    25% {
        transform: translateY(9px) rotate(22.5deg);
    }

    50% {
        transform: translateY(18px) scale(1, 0.9) rotate(45deg);
        border-bottom-right-radius: 40px;
    }

    75% {
        transform: translateY(9px) rotate(67.5deg);
    }

    100% {
        transform: translateY(0) rotate(90deg);
    }
}

@-webkit-keyframes shadow {

    0%,
    100% {
        transform: scale(1, 1);
    }

    50% {
        transform: scale(1.2, 1);
    }
}

@keyframes shadow {

    0%,
    100% {
        transform: scale(1, 1);
    }

    50% {
        transform: scale(1.2, 1);
    }
}

.layui-layout-admin .layui-header .layui-nav {
    padding: 0;
}

/* 头部左侧样式 */
.layui-layout-admin .layui-nav-bar {
    top: 0 !important;
}

/* 右侧隐藏菜单 */
.more-menu-list {
    width: 100%;
    /* margin-top: 30px; */
    display: none;
}

.more-menu-item:first-child {
    border-top: 1px solid #e8e8e8;
}

.more-menu-item {
    color: #595959;
    height: 50px;
    line-height: 50px;
    font-size: 16px;
    padding: 0 25px;
    border-bottom: 1px solid #e8e8e8;
    font-style: normal;
    display: block;
}

.admin-setTheme-color {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    padding-top: 10px;
}

.admin-setTheme-color li {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 75px;
    height: 50px;
    margin-bottom: 10px;
    background-color: #f2f2f2;
    cursor: pointer;
    font-size: 12px;
    color: #666;
}

.admin-setTheme-color li .admin-setTheme-header {
    position: relative;
    z-index: 10;
    height: 10px;
    border-top: 1px solid #f2f2f2;
    border-right: 1px solid #f2f2f2;
}

.admin-setTheme-color li .admin-setTheme-side {
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 100%;
    z-index: 11;
    box-shadow: 1px 0 2px 0 rgba(0, 0, 0, .05);
}

.admin-setTheme-color li .admin-setTheme-logo {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 10px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .15);
}

.admin-setTheme-color li.layui-this:after,
.admin-setTheme-color li:hover:after {
    width: 100%;
    height: 100%;
    padding: 4px;
    top: -5px;
    left: -5px;
    border-color: #5FB878;
    opacity: 1;
}

.admin-setTheme-color li:after {
    content: '';
    position: absolute;
    z-index: 20;
    top: 50%;
    left: 50%;
    width: 1px;
    height: 0;
    border: 1px solid #f2f2f2;
    transition: all .3s;
    -webkit-transition: all .3s;
    opacity: 0;
}

/* 骨架屏 */
.admin-skelecton .admin-skelecton-demo {
    background-image: linear-gradient(90deg, #f0f2f5 25%, #e6e8eb 37%, #f0f2f5 63%);
    background-size: 400% 100%;
    background-position: 100% 50%;
    animation: skeleton-loading 1.4s ease infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0 50%;
    }
}

.admin-skelecton .sdemo01 {
    width: 100%;
    height: 50px;
    border-radius: 15px;
    margin-bottom: 15px;
}

.admin-skelecton .sdemo02 {
    width: 100%;
    border-radius: 15px;
    height: 300px;
    margin-bottom: 15px;
}

.admin-skelecton .sdemo03 {
    width: 100%;
    height: 25px;
    border-radius: 15px;
}

/* 弹出样式 */
.layui-layer-iframe{
    max-width: 100%;
    max-height: 100%;
}

/* 提示页 */
.layadmin-tips{margin-top: 30px; text-align: center;}
.layadmin-tips .layui-icon[face]{display: inline-block; font-size: 300px; color: #393D49;}
.layadmin-tips .layui-text{width: 500px; margin: 30px auto; padding-top: 20px; border-top: 5px solid #009688; font-size: 16px;}
.layadmin-tips h1{font-size: 100px; line-height: 100px; color: #009688;}
.layadmin-tips .layui-text .layui-anim{display: inline-block;}